home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 April / PCWorld_2008-04_cd.bin / v cisle / ozo / zotero-1.0.3.xpi / chrome / zotero.jar / content / zotero / addCitationDialog.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-09-13  |  6.3 KB  |  154 lines

  1. <?xml version="1.0"?>
  2. <!--
  3.     ***** BEGIN LICENSE BLOCK *****
  4.     
  5.     Copyright (c) 2006  Center for History and New Media
  6.                         George Mason University, Fairfax, Virginia, USA
  7.                         http://chnm.gmu.edu
  8.     
  9.     Licensed under the Educational Community License, Version 1.0 (the "License");
  10.     you may not use this file except in compliance with the License.
  11.     You may obtain a copy of the License at
  12.     
  13.     http://www.opensource.org/licenses/ecl1.php
  14.     
  15.     Unless required by applicable law or agreed to in writing, software
  16.     distributed under the License is distributed on an "AS IS" BASIS,
  17.     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18.     See the License for the specific language governing permissions and
  19.     limitations under the License.
  20.     
  21.     ***** END LICENSE BLOCK *****
  22. -->
  23. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  24. <?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
  25. <?xml-stylesheet href="chrome://zotero/skin/overlay.css" type="text/css"?>
  26. <?xml-stylesheet href="chrome://zotero/skin/integration.css" type="text/css"?>
  27. <!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
  28.  
  29. <dialog
  30.     id="add-citation-dialog"
  31.     orient="vertical"
  32.     title="&zotero.integration.addEditCitation.title;"
  33.     width="600" height="450"
  34.     onload="Zotero_Citation_Dialog.load();"
  35.     onunload="doUnload();"
  36.     ondialogaccept="Zotero_Citation_Dialog.accept();"
  37.     ondialogcancel="Zotero_Citation_Dialog.cancel();"
  38.     xmlns:html="http://www.w3.org/1999/xhtml"
  39.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  40.     style="padding: 0">
  41.     
  42.     <script src="include.js"/>
  43.     <script src="selectItemsDialog.js"/>
  44.     <script src="addCitationDialog.js"/>
  45.     
  46.     <vbox id="zotero-select-items-container" flex="1" style="padding: 1em">
  47.         <vbox flex="1">
  48.             <hbox flex="1">
  49.                 <vbox align="stretch" flex="1">
  50.                     <hbox align="center" pack="end">
  51.                         <label value="&zotero.toolbar.search.label;" control="zotero-tb-search"/>
  52.                         <textbox id="zotero-tb-search" type="timed" timeout="250" oncommand="onSearch()" dir="reverse" onkeypress="if(event.keyCode == event.DOM_VK_ESCAPE) { this.value = ''; this.doCommand('cmd_zotero_search'); return false; } return true;">
  53.                             <toolbarbutton id="zotero-tb-search-cancel" oncommand="this.parentNode.value='';" hidden="true"/>
  54.                         </textbox>
  55.                     </hbox>
  56.                     <hbox flex="1" style="margin-top: 5px">
  57.                         <tree id="zotero-collections-tree"
  58.                             style="width: 200px;" hidecolumnpicker="true" seltype="single"
  59.                             onselect="onCollectionSelected();">
  60.                             <treecols>
  61.                                 <treecol
  62.                                     id="zotero-collections-name-column"
  63.                                     label="&zotero.collections.name_column;"
  64.                                     flex="1"
  65.                                     primary="true"/>
  66.                             </treecols>
  67.                             <treechildren/>
  68.                         </tree>
  69.                     
  70.                         <tree id="zotero-items-tree"
  71.                             flex="1" hidecolumnpicker="true" seltype="single"
  72.                             onselect="Zotero_Citation_Dialog.treeItemSelected();">
  73.                             <treecols>
  74.                                 <treecol
  75.                                     id="zotero-items-column-title" primary="true"
  76.                                     label="&zotero.items.title_column;"
  77.                                     flex="4" persist="width ordinal hidden sortActive sortDirection"/>
  78.                                 <splitter class="tree-splitter"/>
  79.                                 <treecol
  80.                                     id="zotero-items-column-firstCreator"
  81.                                     label="&zotero.items.creator_column;"
  82.                                     flex="1" persist="width ordinal hidden sortActive sortDirection"/>
  83.                                 <splitter class="tree-splitter"/>
  84.                                 <treecol
  85.                                     id="zotero-items-column-dateAdded" hidden="true"
  86.                                     label="&zotero.items.dateAdded_column;"
  87.                                     flex="1" persist="width ordinal hidden sortActive sortDirection"/>
  88.                                 <splitter class="tree-splitter"/>
  89.                                 <treecol
  90.                                     id="zotero-items-column-dateModified" hidden="true"
  91.                                     label="&zotero.items.dateModified_column;"
  92.                                     flex="1" persist="width ordinal hidden sortActive sortDirection"/>
  93.                             </treecols>                
  94.                             <treechildren/>
  95.                         </tree>
  96.                     </hbox>
  97.                 </vbox>
  98.                         
  99.                 <hbox hidden="true" id="multiple-sources">
  100.                     <vbox align="center" pack="center">
  101.                         <toolbarbutton id="add" oncommand="Zotero_Citation_Dialog.add()" disabled="true"/>
  102.                         <toolbarbutton id="remove" oncommand="Zotero_Citation_Dialog.remove()" disabled="true"/>
  103.                     </vbox>
  104.                     <vbox>
  105.                         <checkbox id="keepSorted" hidden="true" checked="false" oncommand="Zotero_Citation_Dialog.sortCitation()" label="&zotero.citation.keepSorted.label;"/>
  106.                         <listbox id="citation-list" flex="1" align="stretch" seltype="single"
  107.                             onselect="Zotero_Citation_Dialog.listItemSelected();"></listbox>
  108.                     </vbox>
  109.                 </hbox>
  110.             </hbox>
  111.             
  112.             <hbox align="stretch" style="margin-top: 8px">
  113.                 <vbox flex="1">
  114.                     <hbox align="center">
  115.                         <label value="&zotero.citation.prefix.label;"/>
  116.                         <textbox oninput="Zotero_Citation_Dialog.confirmRegenerate(false)" onchange="Zotero_Citation_Dialog.confirmRegenerate(true)" class="fix" id="prefix" align="stretch" flex="1"/>
  117.                     </hbox>
  118.                     <hbox align="center">
  119.                         <label value="&zotero.citation.suffix.label;"/>
  120.                         <textbox oninput="Zotero_Citation_Dialog.confirmRegenerate(false)" onchange="Zotero_Citation_Dialog.confirmRegenerate(true)" class="fix" id="suffix" align="stretch" flex="1"/>
  121.                     </hbox>
  122.                     <spacer flex="1"/>
  123.                 </vbox>
  124.                 <separator flex="4"/>
  125.                 <vbox flex="1">
  126.                     <hbox align="stretch">
  127.                         <menulist onchange="Zotero_Citation_Dialog.confirmRegenerate(true)" id="locatorType">
  128.                             <menupopup id="locator-type-popup"/>
  129.                         </menulist>
  130.                         <textbox oninput="Zotero_Citation_Dialog.confirmRegenerate(false)" onchange="Zotero_Citation_Dialog.confirmRegenerate(true)" id="locator" flex="1"/>
  131.                     </hbox>
  132.                     <separator style="height: 2px" flex="1"/>
  133.                     <checkbox oncommand="Zotero_Citation_Dialog.confirmRegenerate(true)" id="suppressAuthor" label="&zotero.citation.suppressAuthor.label;"/>
  134.                 </vbox>
  135.             </hbox>
  136.         </vbox>
  137.         
  138.         <textbox id="editor" type="styled" hidden="true" flex="1"/>
  139.         
  140.         <hbox style="margin-top: 15px">
  141.             <hbox>
  142.                 <button id="show-editor-button" oncommand="Zotero_Citation_Dialog.toggleEditor()"/>
  143.                 <button id="multiple-sources-button" oncommand="Zotero_Citation_Dialog.toggleMultipleSources()"/>
  144.             </hbox>
  145.             <vbox flex="1" align="end">
  146.                 <hbox>
  147.                     <button dlgtype="cancel"/>
  148.                     <button dlgtype="accept" disabled="true"/>
  149.                 </hbox>
  150.             </vbox>
  151.         </hbox>
  152.     </vbox>
  153. </dialog>
  154.